<?php
namespace app\controllers;




use app\common\WxUtil;

class WechatController extends BaseController
{

    public function actionIndex(){
        $wxUtil = new WxUtil();
        if (!isset($_GET['echostr'])) {
            $wxUtil->responseMsg();
        }else{
            $wxUtil->valid();
        }


    }

}